package educationaladministrationsystem.CSM.Mapper.Service.StudentAndTeacher.Teacher;

import educationaladministrationsystem.CSM.Mapper.Service.ServiceInterface.StudentAndTeacherInterface.Teacher.TeacherPersonData;
import educationaladministrationsystem.Class.Teacher;
import educationaladministrationsystem.CSM.Mapper.StudentAndTeacher.Teacher.TeacherPersonDataMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherPersonDataService implements TeacherPersonData {
    @Autowired
    private TeacherPersonDataMapper teacherPersonDataMapper;

    @Override
    public Teacher getInformation(String id) {
        return teacherPersonDataMapper.getInformation(id);
    }
}
